let t = require;
let e = module;
let o = e.exports;
o.default = e.exports;

('use strict');
console.log('start');
var _n16,
  i =
    (this && this.__extends) ||
    ((_n16 = function n(t, e) {
      return (_n16 =
        Object.setPrototypeOf ||
        ({
          __proto__: []
        } instanceof Array &&
          function (t, e) {
            t.__proto__ = e;
          }) ||
        function (t, e) {
          for (var o in e) {
            Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
          }
        })(t, e);
    }),
    function (t, e) {
      function o() {
        this.constructor = t;
      }
      _n16(t, e),
        (t.prototype =
          null === e
            ? Object.create(e)
            : ((o.prototype = e.prototype), new o()));
    });
Object.defineProperty(o, '__esModule', {
  value: !0
}),
  (o.AbsObject = void 0);
var r = (function (t) {
  function e() {
    var o = t.call(this) || this;
    return (
      (o._objId = e.ObjectID++),
      (o._poolKey = 'AbsObject'),
      (o._isDestroy = !1),
      o
    );
  }
  return (
    i(e, t),
    Object.defineProperty(e.prototype, 'poolKey', {
      get: function get() {
        return this._poolKey;
      },
      set: function set(t) {
        this._poolKey = t;
      },
      enumerable: !1,
      configurable: !0
    }),
    Object.defineProperty(e.prototype, 'objId', {
      get: function get() {
        return this._objId;
      },
      enumerable: !1,
      configurable: !0
    }),
    (e.prototype.toString = function () {
      var t = {};
      for (var e in this) {
        t[e] = this[e];
      }
      return JSON.stringify(t);
    }),
    Object.defineProperty(e.prototype, 'isValid', {
      get: function get() {
        return !this._isDestroy;
      },
      enumerable: !1,
      configurable: !0
    }),
    (e.prototype.destroy = function () {
      this._isDestroy || (this.onDestroy(), (this._isDestroy = !0));
    }),
    (e.prototype.onDestroy = function () {}),
    (e.ObjectID = 1e3),
    e
  );
})(cc.EventTarget);
(o.AbsObject = r), console.log('end');
module.exports = e.exports;
